<template>
	<view class="page-bg">
		<u-parse :content="infos.content" :tagStyle="tagStyle"></u-parse>
	</view>
</template>

<script>
	import {
		noticeDetail
	} from "@/api/apis/comm.js"
	export default {
		data() {
			return {
				infos: {},
				tagStyle: {
					img: 'widht:100%'
				},
			}
		},
		onLoad(e) {
			this.getInfo(e.id)
		},
		methods: {
			getInfo(id) {
				noticeDetail({
					id
				}).then(res => {
					this.infos = res.data
				})
			}
		}
	}
</script>

<style scoped>
	.page-bg {
		padding: 30rpx;
	}
</style>